<html>
<body>

<?php
if(!empty($_POST['uid']))
echo "<p>uid:" . $_POST['uid'];
if(!empty($_POST['pwd']))
echo "<p>pwd:" . $_POST['pwd'];
{ ?>

<hr>
<form method=post>
<p>Username: <input type=text name=uid>
<p>Password: <input type=password name=pwd>
<p><input type=submit value="Skicka">
</form>
} </body>
?> </html>

